package com.google.gwt.it2tool.client;

import java.util.Random;

public class IdGenerator {
	
	static final String AB = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
	static Random rnd = new Random();

	  public static String getNextId()
	  {
		  
		  StringBuilder sb = new StringBuilder( 30 );
		   for( int i = 0; i < 30; i++ ) 
		      sb.append( AB.charAt( rnd.nextInt(AB.length()) ) );
		   return sb.toString();


	  }

}
